-
Home
-
UpsellWP – WooCommerce Upsell and Related Products Offers
-
1.4.2
-
Code
-
Classes
- Cart
Total Complexity |
82 |
Dependencies |
8 |
Dependents |
4 |
Total lines |
407 |
Lines of code |
247 |
Logical lines of code |
158 |
Comment lines |
108 |
Methods |
11 |
Properties |
7 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
addOffer() |
A |
40 |
14 |
56 |
isOfferApplicable() |
A |
46 |
12 |
40 |
getData() |
A |
44 |
11 |
40 |
getPricePerItem() |
A |
51 |
10 |
23 |
getBundledItems() |
A |
56 |
10 |
17 |
addProduct() |
S |
52 |
7 |
23 |
isProductApplicable() |
S |
56 |
6 |
18 |
getAddedProducts() |
S |
61 |
5 |
12 |
getAppliedOffers() |
S |
61 |
5 |
12 |
hasProduct() |
S |
77 |
1 |
3 |
isOfferApplied() |
S |
78 |
1 |
3 |